package com.lsj.ssmTest.core.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author Lsj
 * @version 1.0
 * @date 2021/6/30 18:45
 */
@Data
@Component
@PropertySource("classpath:upload.properties")
public class UploadConfig {
    @Value("${upload.path}")
    private String uploadPath;
    @Value("${upload.prefix}")
    private String uploadPrefix;
}
